Skip to content

Conversation

@ShahanaFarooqui
Copy link
Collaborator

Pyln logger's configuration was unexpectedly being overwritten by the root logger during the autogenerated examples test, complicating error debugging.

We resolved this by introducing a pytest fixture to reapply the logger configuration before the tests executes.

Changelog-None.

Fixes: #8023

Pyln logger's configuration was unexpectedly being overwritten by the root logger during the autogenerated examples test, complicating error debugging.

We resolved this by introducing a pytest fixture to reapply the logger configuration before the tests executes.

Changelog-None.

Fixes: ElementsProject#8023
@ShahanaFarooqui ShahanaFarooqui added this to the v25.02 milestone Jan 23, 2025
@rustyrussell rustyrussell merged commit 7460b7d into ElementsProject:master Jan 24, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logging with pytest is not working

2 participants